package com.samphanie.auiu.common.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;
import java.util.Set;

/**
 * @author ZSY
 * @email 1451691457@qq.com
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CreateOrUpdateClientDto implements Serializable {
    private static final long serialVersionUID = -1067485839897856289L;

    private String clientId;
    private String clientSecret;
    private List<String> scopes;
    private List<String> grantTypes;
    private List<String> autoApproves;
    private Set<String> redirectUris;
    private int accessTokenValidity;
    private int refreshTokenValidity;

}
